export default {
  data() {
    return {
      bgColor: "transparent",
      titleStyle: "color:#fff",
      leftIconColor: "#fff",
    };
  },
  onPageScroll(e) {
    if (e.scrollTop > 40) {
      this.bgColor = "#fff";
      this.titleStyle = "color:#000";
      this.leftIconColor = "#000";
    } else {
      this.bgColor = "transparent";
      this.titleStyle = "color:#fff";
      this.leftIconColor = "#fff";
    }
  },
};
